package star.oath.project.battle.bean;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class BattleRoundData {

    private String name;
    //进攻参数
    private Map<String, Dice> attacks;
    private Map<String, Integer> pierces;
    private Map<String, Integer> extras;
    //加成参数
    private Integer att;
    private Integer crt;
    //防守参数
    private Map<String, Integer> defences;
    private Map<String, Integer> resistances;
    private Map<String, Integer> absorbs;
    //加成参数
    private Integer avd;
    private Integer blk;
    private Integer blkDmg;

    public BattleRoundData(String name) {
        this.name = name;
        this.attacks = new HashMap<>();
        this.pierces = new HashMap<>();
        this.extras = new HashMap<>();
        att = 0;
        crt = 0;
        defences = new HashMap<>();
        resistances = new HashMap<>();
        absorbs = new HashMap<>();
        avd = 0;
        blk = 0;
        blkDmg = 0;
    }
}
